<!-- Start Slider Wrapping -->
    <div id="sliderwrap">
		
        <!-- Start Slider -->
        <div id="slider" class="nivoSlider">
            <img src="images/slider-banners/slider01.jpg" alt=""/>
            <img src="images/slider-banners/slider02.jpg" alt=""/>
            <img src="images/slider-banners/slider03.jpg" alt=""/>
        </div>
        <!-- End Slider -->
        <!-- Start Slider HTML Captions -->
        <div id="htmlcaption" class="nivo-html-caption">
           <!-- <strong>This</strong> is an example of a <em>HTML</em> caption with <a href="#">a link</a>. -->
        </div>
        <!-- End Slider HTML Captions -->
    
    </div>
    <!-- End Slider Wrapping -->
  
    <div class="titles">
    
    	<h1>Random my projects</h1>
        
        <span></span>
    
    </div>
  
    <!-- Start Main Body Wrap -->
    <div id="main-wrap">
    
    	<?php
		include("include/class.function.php");
		$inancm = new inancm();
		
		$get_port = $inancm->select_db("select * from inancm_portfolio where port_show = 1 order by RAND() LIMIT 0,3");
		//$inancm->pre($get_port);
		error_reporting(E_ALL ^ E_NOTICE);
		?>

        
        <!-- Start Latest 3 Projects -->
		<style type="text/css">
        	a { text-decoration:none; color:#069; font-size:14px;}
			a:hover { text-decoration:none; color:#0CF; font-size:14px;}
        </style>
        
        <?php foreach($get_port as $val){ ?>
		<div class="boxes-third">        
       	  <div class="latestthree">
            
           	<div class="title">
                <?=$val['port_name'];?>
                <span class="titlearrow"></span>
                </div>
                <div class="latestthreeimage"><a href="images/latest-projects/larger-images/<?=$val['port_image'];?>" rel="prettyPhoto" title="<?=$val['port_slogan'];?>">
                	<img src="images/latest-projects/<?=$val['port_image'];?>" alt="<?=$val['port_slogan'];?>" width="305" height="132" border="0"/></a></div>
            	
                <div class="text">
                	<a href="<?=$val['port_link'];?>" target="_blank"><< <?=$val['port_name'];?> >></a>
                <span class="textarrow"></span>
                </div>            
          </div>        
        </div>
        <?php } ?>
        <div class="clear"></div>
        </div>
        <!-- End Latest 3 Projects -->
    
    </div>
    <!-- End Main Body Wrap -->